cmake_minimum_required(VERSION  3.5.0)
cmake_policy(SET CMP0074 NEW)
project(cpp_learn)
include(cmake/subdir.cmake)
include(cmake/uninstall.cmake)

add_compile_definitions(CSERIALPORT_DEBUG)

# 设置 C++ 标准为 C++17
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_subdirectory(dep)
add_subdirectory(lib)
add_subdirectory(src)
